Lesson 6 - beginner exercise
For each scenario write code to solve it.
Scenario - Deduct stock when a product has been purchased. If the stock level is below a a threshold value then new stock is ordered.
Toggle answerScenario - Take a set of values (text or numbers) and print it as a list in HTML (eg ["hi", "bye"] would become <ul><li> hi </li><li> bye </li></ul>
Toggle answerScenario - Take a list of money values (in uk pounds) and convert them into american dollars. Add up the all of the converted values and output the result.